<template>
  <div class="my_message common_page_inBox">
    <div class="message_toggle clearfix">
      <div class="cur fl">订单相关</div>
      <div class="fl">系统消息</div>
    </div>

    <div class="message_list">
      <ul>
        <li>
          <p>你提交的订单 DSSS545454561541, 供应商已确认施工计划</p>
          <el-row class="message_list_content">
            <el-col :span="3" class="img_box">
              <img src="../../../static/img/my_order_img.jpg" alt>
            </el-col>
            <el-col :span="10">
              <div>
                <h5>雅韵居</h5>
                <p>上海绿竹房产有限公司</p>
              </div>
            </el-col>
            <el-col :span="9"><span>预计施工开始日期：2018年12月10日</span></el-col>
            <el-col :span="2"><a href="">查看详情</a></el-col>
          </el-row>
        </li>
        <li>
          <p>你提交的订单 DSSS545454561541, 供应商已确认施工计划</p>
          <el-row class="message_list_content">
            <el-col :span="3" class="img_box">
              <img src="../../../static/img/my_order_img.jpg" alt>
            </el-col>
            <el-col :span="10">
              <div>
                <h5>雅韵居</h5>
                <p>上海绿竹房产有限公司</p>
              </div>
            </el-col>
            <el-col :span="9"><span>预计施工开始日期：2018年12月10日</span></el-col>
            <el-col :span="2"><a href="">查看详情</a></el-col>
          </el-row>
        </li>
      </ul>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  }
};
</script>
<style lang="scss" scoped>
@import "../../../static/jyj_index.scss";
.common_page_inBox {
  width: 980px;
  margin: 50px auto;
}

.message_toggle {
  margin-bottom: 20px;
  border-bottom: 1px solid $bgBorder;
  div {
    width: 100px;
    color: $black;
    cursor: pointer;
    line-height: 40px;
    text-align: center;
    border-radius: 3px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: $bgBorder;
    &.cur {
      color: $white;
      background-color: $orange;
    }
    &:last-child {
      margin-left: 1px;
    }
  }
}
.message_list {
  li {
    & > p {
      color: $wordGray;
      margin: 10px 0;
      font-size: 12px;
      text-indent: 8px;
      line-height: 14px;
      border-left: 2px solid $orange;
    }
    .message_list_content {
      height: 86px;
      padding: 10px 0 10px 10px;
      background-color: #f2f2f2;
      .img_box{
        width: 100px;
        height: 66px;
        overflow: hidden;
        margin-right: 20px;
      }
      div{
        height: 100%;
        display: flex;
        align-items: center;
        div{
          height: auto;
          display: inline-block;
          h5{
            font-size: 14px;
            line-height: 26px;
          }
          p{
            color: $wordGray;
          }
        }
        span{
          color: $wordGreen;
        }
        a{
          color: $orange;
        }
        img{
          width: 100px;
          vertical-align: middle;
        }
      }
    }
  }
}
</style>
